300
|
"rangearea", a range chart displays sets of data points, each of which is defined by multiple values for the same category, and emphasizes the distance between the two values. The category labels are displayed on the category axis. The plain Range chart fills in the area between the top and the bottom value for each data point. (data requires array of array of two-numbers, such as [[from, to]], supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value + `°`");
spGraph1->GetSeries()->Add(_bstr_t("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)","Spain")->PutType(L"rangearea");
spGraph1->GetSeries()->Add(_bstr_t("Jan(3 13), Feb(4 15), Mar(8 17), Apr(11 20), May(15 25), Jun(19 29), Jul(21 31), Aug(21 31), Sep(17 27), Oct(12 22), Nov(7 16),") +
" Dec(4 14)","Spain")->PutType(L"rangearea");
spGraph1->EndUpdate();
|
299
|
"rangecolumn", single

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value + `°`");
spGraph1->GetSeries()->Add(_bstr_t("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)","Spain")->PutType(L"RangeColumn");
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
298
|
"rangecolumn", a range column chart displays information as a range of data by plotting two Y-values (low and high) per data point. The vertical axis shows the values, and the horizontal axis shows the categories they belong to; in multiple-series range column charts, values are grouped by categories. (data requires array of array of two-numbers, such as [[from, to]], supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutFormat(L"value + `°`");
spGraph1->GetSeries()->Add(_bstr_t("Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17),") +
" Dec(6 15)","Spain")->PutType(L"RangeColumn");
spGraph1->GetSeries()->Add(_bstr_t("Jan(3 13), Feb(4 15), Mar(8 17), Apr(11 20), May(15 25), Jun(19 29), Jul(21 31), Aug(21 31), Sep(17 27), Oct(12 22), Nov(7 16),") +
" Dec(4 14)","Spain")->PutType(L"RangeColumn");
spGraph1->EndUpdate();
|
297
|
"pie", a pie chart (or a circle chart) is a circular statistical graphic which is divided into slices to illustrate numerical proportion. In a pie chart, the arc length of each slice (and consequently its central angle and area) is proportional to the quantity it represents. While it is named for its resemblance to a pie which has been sliced, there are variations on the way it can be presented. (data requires array of numbers, non-scrollable)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutMisc(EXGRAPHLib::exPaddingInsidePie,long(2));
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"pie");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"pie");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
296
|
"waterfall", a waterfall chart is a form of data visualization that helps in understanding the cumulative effect of sequentially introduced positive or negative values. These intermediate values can either be time based or category based. The waterfall chart is also known as a flying bricks chart or Mario chart due to the apparent suspension of columns (bricks) in mid-air. Often in finance, it will be referred to as a bridge. (data requires array of numbers, supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"waterfall");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"waterfall");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
295
|
"radarcolumn", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"radarcolumn");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"radarcolumn");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
294
|
"radarcolumn", displays data in radial columns starting from one center point. The circle is divided into equal portions depending on the number of columns and each column group occupies one portion (similar with "radarArea" type, data requires array of numbers, non-scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"radarcolumn");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"radarcolumn");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
293
|
"radarline", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"radarline");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"radarline");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
292
|
"radarline" (data requires array of numbers, non-scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"radarline");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"radarline");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
291
|
"radararea", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"radararea");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"radararea");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
290
|
"radararea", a radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. The relative position and angle of the axes is typically uninformative, but various heuristics, such as algorithms that plot data as the maximal total area, can be applied to sort the variables (axes) into relative positions that reveal distinct correlations, trade-offs, and a multitude of other comparative measures. (data requires array of numbers, non-scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"radararea");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"radararea");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
289
|
"column", single

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"column");
spGraph1->EndUpdate();
|
288
|
"column", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"column");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"column");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
287
|
"column", a column chart or column graph is a chart or graph that presents categorical data with rectangular columns with heights proportional to the values that they represent. A horizontal column chart is called a bar chart. (data requires array of numbers, supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"column");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"column");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
286
|
"line", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"line");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"line");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
285
|
"line", a line chart or line graph, also known as curve chart is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments. It is a basic type of chart common in many fields. It is similar to a scatter plot except that the measurement points are ordered (typically by their x-axis value) and joined with straight line segments. A line chart is often used to visualize a trend in data over intervals of time - a time series - thus the line is often drawn chronologically. In these cases they are known as run charts. (data requires array of numbers, supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"line");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"line");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
284
|
"area", stacked

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide");
var_Serie->PutType(L"area");
var_Serie->PutStack(L"group");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native");
var_Serie1->PutType(L"area");
var_Serie1->PutStack(L"group");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
283
|
"area", an area chart or area graph displays graphically quantitative data. It is based on the line chart. The area between axis and line are commonly emphasized with colors, textures and hatchings. Commonly one compares two or more quantities with an area chart. (data requires array of numbers, supports vertical field, scrollable)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutPad(long(18));
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add(_bstr_t("Chinese(14.1),Spanish(6.7),English(4.9),Hindi(4.2),Arabic(4.1),Bengali(3.3),Portuguese(2.9),Russian(2.8),Japanese(1.7),Lahnda(1") +
".6)","Worldwide")->PutType(L"area");
var_Series->Add(_bstr_t("Chinese(13.2),Spanish(6.6),English(4.8),Hindi(4.1),Arabic(4.0),Bengali(3.2),Portuguese(2.8),Russian(2.7),Japanese(1.6),Lahnda(1") +
".5)","Native")->PutType(L"area");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
282
|
Define the color to show the frame around the pies

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)","Population");
var_Serie->PutType(L"Pie");
var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
var_Serie->PutMisc(EXGRAPHLib::exPieFrameColor,long(255));
var_Serie->PutMisc(EXGRAPHLib::exLineSize,long(4));
spGraph1->EndUpdate();
|
281
|
Define the width of the line to show the serie

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)","Population");
var_Serie->PutType(L"Line");
var_Serie->PutMisc(EXGRAPHLib::exLineSize,long(4));
spGraph1->EndUpdate();
|
280
|
Changes the spline's tension and alpha curves

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1920(1.8),1945(2.3),1970(13.7),1995(5.7),2020(7.8)","Population");
var_Serie->PutType(L"Line");
var_Serie->PutStyle(EXGRAPHLib::exSpline);
var_Serie->PutMisc(EXGRAPHLib::exSplineTension,long(0));
var_Serie->PutMisc(EXGRAPHLib::exSplineAlpha,long(1));
spGraph1->EndUpdate();
|
279
|
Enables or disables the presentation of hollow representations. This indicates instances where the closing price exceeds the opening price, resulting in candlesticks characterized by unfilled bodies

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
var_Serie->PutMisc(EXGRAPHLib::exCandleAllowHollow,VARIANT_FALSE);
spGraph1->EndUpdate();
|
278
|
Define the size to display the candle stick

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(18);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
var_CategoryAxis->PutFormat(L"value mid 9 left 2");
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
var_Serie->PutMisc(EXGRAPHLib::exCandleStickSize,long(2));
spGraph1->EndUpdate();
|
277
|
Define the radius to show the plot on scatter-type charts

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23",vtMissing);
var_Serie->PutType(L"bubble");
var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::ISeriePtr var_Serie1 = spGraph1->GetSeries()->Add("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45",vtMissing);
var_Serie1->PutType(L"bubble");
var_Serie1->PutMisc(EXGRAPHLib::exScatterPlotSize,long(64));
EXGRAPHLib::IExCursorPtr var_Cursor = spGraph1->GetCursor();
var_Cursor->PutVisible(VARIANT_TRUE);
var_Cursor->PutShowCursorXLine(VARIANT_FALSE);
spGraph1->EndUpdate();
|
276
|
Customizes the captions to be shown within the legend

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetValueAxis()->PutAsPercent(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutLegendFormat(L"trim(label replace `Ocean` with ``)");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
275
|
Stacked (data points within a series are stacked on top of each other rather than plotted side by side)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Electronics(350),Clothing(200),Books(150)",long(2001))->PutStack(L"A");
var_Series->Add("Electronics(500),Clothing(150),Books(180)",long(2002))->PutStack(L"A");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
274
|
Draws a curved line

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("1920(1.8),1945(2.3),1970(3.7),1995(5.7),2020(7.8)","Population");
var_Serie->PutType(L"Line");
var_Serie->PutStyle(EXGRAPHLib::exSpline);
var_Serie->PutMisc(EXGRAPHLib::exLineSize,long(2));
spGraph1->EndUpdate();
|
273
|
Customizes the values to display on the chart (showValue property includes the exValue)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->PutVisible(VARIANT_FALSE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing);
var_Serie->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
var_Serie->PutValueFormat(L"category + `<br><b>` + (percent format ``) + `%`");
spGraph1->EndUpdate();
|
272
|
Shows or hides the serie's value-points, value-lines and values

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->EndUpdate();
|
271
|
Shows or hides the serie

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
var_Serie->PutVisible(VARIANT_FALSE);
var_Serie->PutVertical(VARIANT_TRUE);
var_Serie->PutName(L"2001");
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing)->PutName(L"2002");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
270
|
Show bars graph (the serie is showing the data vertically or horizontally)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ==");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
var_Serie->PutColor(long(16777216));
var_Serie->PutVertical(VARIANT_TRUE);
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing)->PutColor(long(16777216));
spGraph1->PutSeriesColors("red,RGB(255,128,0)");
spGraph1->EndUpdate();
|
269
|
Define the name of the chart serie which is visible in the legend

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutAsPercent(VARIANT_TRUE);
var_ValueAxis->PutFormat(L"(value * 100 format `0`) + `%`");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Asian(10),Black(13),Hispanic(15),White(60),Other(7)","<fgcolor blue>Population");
var_Series->Add("Asian(65),Black(69),Hispanic(67),White(70),Other(68)",vtMissing)->PutName(L"<fgcolor teal>Height");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
268
|
Define the visual appearance of the serie using EBN colors (method 3,mixt)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABVoDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADIOAzyPAsVwSGobRpkEaIMiONoYR5Ac4yF") +
"AcQxHE6TZRGeQRRiGModT5HFIxXIsBgRECEQChFzQcCQAJUVZFdAyVQlDRCGSpJrkEC4cBCCZPTzUNR1LS9WS1DoaRJoG4ZHDUMJyS7dcjyHINGwxMinJrwKA6bi6BAw" +
"YYAEwUPAYcT9QaRZznOQaLhiQIdVxDNbURgWKgVBK/AiqCA7Bq2VpYZZmFB5VJ9P5LPiEcE+fAdTQHUS0dItPR7OiacJ4TpdF48BhVdY7UCEdoADYtYxCP6qSxiFDUDA" +
"/CsF5KloAAXm4VBfEuKJUFuZxSi6DouAY34NDWdItg2HgTjaWZHDuVpPAae4DkQGRwjyXBvlcE47iMdoelQDYyHcHJkGGFIAEAARAGkGJHEGVByBkVBUCSFhEgQIQ2BM" +
"RpDGQJAoHuEIXDUCAGBGAYBHsc4NhMNJOCqCJCDoKIKiKGIuC6CxjAiMgyguYw4iSXg2g2MZoEcEJJjGLA4CiBwwnSJQdEOcogHcEBKjGZBDCuB4xBSMQfEQcpUgAEoL" +
"gICBMC6SBBDiPghkUEwEgkFJMEILBVCyR4RDiGQckcIY8DYCwJnGQA6hAJApBIRoSCSKQyE6FAlCkUhWhYJYpHIXoYCYIwcg0FZHiCeA0hqJpJjocIQmQWQeEmEpklkP" +
"hRhSZRZF4WYWmWWR+GEFRoCoEoGBmQpQiiAwTgMIh0G4DpokmToPh2KQpmaFYfCmCZ8jcH4EnITBYA+RpQkQLg3A0Iw8iMIAHgGQA3AsSZxjwPApkcYS5h4BAijQegRA" +
"sCRAjQH5EhKXIBBKS4pGSPQhgUAo4HUEtHhAPQxgqUoMmNjRQhAHA7G6I42CUM4HmEKA7jILIrDKTo0C0KxSlaNglhKXB/BMSBxFwUw6k4c4im2QZujwIJtCySYSGyFQ" +
"YEOKwuk2M5tBEHpTjUbR7GQTgjgUUJym+QoyAwJwiDsSAxDQNJEi8fBXBePpxiGXA8AyMgbjMI5MHIXIenaRQvhwYp8BOMpskMM5PnMLQHAyQ4xAyIw4kWL4sGZDoxmi" +
"GwxkKLpxlQPQLi8TQaniUgziwap+BMbwRBsBJBjIO48hcHIHEGMAyAqbBbB6SZVjKLQnDuNptlsfBvA2Qx4iyKwM4GR6BBBMDAQwxQIDkA8BQQYoA+iqGSEUNgmxKhKD" +
"KLwVojQ3AGACBAFIFxCAgFIE8RgogUgcBiAsUY8BJAYCaLMPw/xgDwD2F8BYwxtBcCeBcNoWxOBwFIGEZgRgagGCcA0cYJwajOCiFwf4BRhAID4DARYxAEhcCgJkYwdQ" +
"eB/CwCoeowhcgqBoAwAYWAxAVEiOIdAagkCLGCLmAoBwMB4DoEsRgYRwgyBkIcUg4BmAfZKEgQQUBGhCeGDYBAhQUDaBGBUAYeBHBVAcCIJ4KARCSCGGgbwcQjgaA4Gk" +
"foxgfjkDUV8GAswLCDE8AIBwtAjAAAQAggIA=");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing)->PutColor(long(16777216));
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing)->PutColor(long(16777216));
spGraph1->PutSeriesColors("red,RGB(255,128,0)");
spGraph1->EndUpdate();
|
267
|
Define the color to show the serie (method 2)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing);
spGraph1->PutSeriesColors("red,RGB(255,128,0)");
spGraph1->EndUpdate();
|
266
|
Define the color to show the serie (method 1)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing)->PutColor("red");
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing)->PutColor(long(33023));
spGraph1->EndUpdate();
|
265
|
Changes the position of the serie

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing);
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing);
spGraph1->GetSeries()->GetItem(long(1))->PutPosition(0);
spGraph1->EndUpdate();
|
264
|
Referencing a series by its key

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)",vtMissing)->PutKey("1st");
var_Series->Add("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)",vtMissing)->PutKey("2nd");
spGraph1->GetSeries()->GetItem("2nd")->PutVisible(VARIANT_FALSE);
spGraph1->EndUpdate();
|
263
|
Removes the serie (click to remove the serie)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void OnClickGraph1()
{
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->GetSeries()->Remove(long(0));
}
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing);
spGraph1->EndUpdate();
|
262
|
Clears the series (click to remove all series)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void OnClickGraph1()
{
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->GetSeries()->Clear();
}
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing);
spGraph1->EndUpdate();
|
261
|
Add multiple series (mixt)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutMisc(EXGRAPHLib::exBaseMajorUnits,"1,5");
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::IValueAxesPtr var_ValueAxes = spGraph1->GetValueAxes();
EXGRAPHLib::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add("g+a");
var_ValueAxis->PutEnd(double(0.66));
var_ValueAxis->GetMajorGridLines()->PutStep(1000);
EXGRAPHLib::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add("p");
var_ValueAxis1->PutStart(double(0.66));
var_ValueAxis1->GetMajorGridLines()->PutStep(1000);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)","GDP");
var_Serie->PutAxis(L"g+a");
var_Serie->PutStack(L"g+a");
var_Series->Add("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)","Population")->PutAxis(L"p");
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)","Area");
var_Serie1->PutAxis(L"g+a");
var_Serie1->PutStack(L"g+a");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
260
|
Add multiple series (same value-axis, stacked)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)","GDP")->PutStack(L"g+a");
var_Series->Add("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)","Population");
var_Series->Add("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)","Area")->PutStack(L"g+a");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
259
|
Add multiple series (same value-axis, all stacked)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)","GDP")->PutStack(L"all");
var_Series->Add("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)","Population")->PutStack(L"all");
var_Series->Add("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)","Area")->PutStack(L"all");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
258
|
Add multiple series (same value-axis)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)","GDP");
var_Series->Add("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)","Population");
var_Series->Add("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)","Area");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
257
|
Add multiple series (different value axes)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetCategoryAxis()->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::IValueAxesPtr var_ValueAxes = spGraph1->GetValueAxes();
EXGRAPHLib::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add("g");
var_ValueAxis->PutEnd(double(0.33));
var_ValueAxis->PutVisible(VARIANT_FALSE);
var_ValueAxis->GetMajorGridLines()->PutStep(1000);
EXGRAPHLib::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add("p");
var_ValueAxis1->PutStart(double(0.33));
var_ValueAxis1->PutEnd(double(0.66));
var_ValueAxis1->PutVisible(VARIANT_FALSE);
var_ValueAxis1->GetMajorGridLines()->PutStep(1000);
EXGRAPHLib::IValueAxisPtr var_ValueAxis2 = var_ValueAxes->Add("a");
var_ValueAxis2->PutStart(double(0.66));
var_ValueAxis2->PutVisible(VARIANT_FALSE);
var_ValueAxis2->GetMajorGridLines()->PutStep(1000);
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
var_Series->Add("UnitedStates(22.7),China(17.6),Japan(5.0),Germany(4.4),India(3.2),UnitedKingdom(3.1),France(3.0),Brazil(2.5)","GDP")->PutAxis(L"g");
var_Series->Add("UnitedStates(331),China(1400),Japan(126),Germany(83),India(1400),UnitedKingdom(68),France(67),Brazil(213)","Population")->PutAxis(L"p");
var_Series->Add("UnitedStates(9.8),China(9.6),Japan(0.377),Germany(0.357),India(3.3),UnitedKingdom(0.610),France(0.695),Brazil(8.5)","Area")->PutAxis(L"a");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
256
|
Display the values over the columns

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutValuePoint(L"0,,,,,,0");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
255
|
Define the pad, distance between value-label and its frame (the number indicated by the ValuePoint property in the 11-th position)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,,,,,,8");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
254
|
Define the size of the frame around the value-label (the number indicated by the ValuePoint property in the 10-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,,,,,4");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
253
|
Define the color of the frame around the value-label (the color indicated by the ValuePoint property in the 9-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,,,,red");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
252
|
Define the background color of the value-label (the color indicated by the ValuePoint property in the 8-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,,,red");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
251
|
Define the length of the line (the number indicated by the ValuePoint property in the 7-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,,0");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
250
|
Define the size of the line from the value point to its label (the number indicated by the ValuePoint property in the 6-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,,4");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
249
|
Define the color of the line from the value point to its label (the color indicated by the ValuePoint property in the 5-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,,red");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
248
|
Define the size of the frame around the value point (the number indicated by the ValuePoint property in the 4-th position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,,4");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
247
|
Define the color of the frame around the value point (the color indicated by the ValuePoint property in the 3-rd position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",,red");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
246
|
Define the color of the value point (the color indicated by the ValuePoint property in the 2-nd position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L",red");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
245
|
Define the size of the value point (the number indicated by the ValuePoint property in the first position)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(48);
spGraph1->PutValuePoint(L"16");
spGraph1->GetSeries()->Add("Pacific(16525), Atlantic(10646), Indian(7056), Southern(2033), Arctic(1406)",vtMissing)->PutShowValue(EXGRAPHLib::ShowValueEnum(EXGRAPHLib::exValue | EXGRAPHLib::exLine | EXGRAPHLib::exPoint));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
244
|
Disables resizing the chart by drag and drop (resize the chart's value by clicking and dragging with the middle mouse button)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(64);
spGraph1->PutAllowValueResize(EXGRAPHLib::exDisallow);
spGraph1->GetSeries()->Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)",vtMissing);
spGraph1->GetSeries()->Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)",vtMissing);
spGraph1->GetCursor()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
243
|
Scrolls programatically the chart
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(8);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetValueAxis()->PutFormat(L"value format ``");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
spGraph1->PutScrollPos(EXGRAPHLib::exHScroll,256);
spGraph1->EndUpdate();
|
242
|
Disables scrolling the chart by clicking and dragging the chart
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(8);
spGraph1->PutAllowScroll(EXGRAPHLib::exDisallow);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetValueAxis()->PutFormat(L"value format ``");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
spGraph1->EndUpdate();
|
241
|
Disables the scroll bars
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(8);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetValueAxis()->PutFormat(L"value format ``");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
spGraph1->PutScrollBars(EXGRAPHLib::exNoScroll);
spGraph1->PutAllowScroll(EXGRAPHLib::exDisallow);
spGraph1->EndUpdate();
|
240
|
Hides the scroll bars
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(8);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetValueAxis()->PutFormat(L"value format ``");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
spGraph1->PutScrollBars(EXGRAPHLib::exNoScroll);
spGraph1->EndUpdate();
|
239
|
The maximum value of the axis does not fit the view. Is there anything I can do to ensure that it fits the view

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
spGraph1->PutPad(long(24));
spGraph1->EndUpdate();
|
238
|
Customizes the "no or invalid data" message

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->PutInvalid(L"<fgcolor red>no or invalid data");
spGraph1->PutFormatText(EXGRAPHLib::DrawTextFormatEnum(EXGRAPHLib::exTextAlignBottom | EXGRAPHLib::exTextAlignCenter));
|
237
|
Sorts descending the serie

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutVertical(VARIANT_TRUE);
spGraph1->PutSort(L"0:D");
spGraph1->EndUpdate();
|
236
|
Sorts ascending the serie

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutVertical(VARIANT_TRUE);
spGraph1->PutSort(L"0");
spGraph1->EndUpdate();
|
235
|
I changed the ValueSize property but it appears that it has no effect

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(32);
spGraph1->PutAutoFit(VARIANT_FALSE);
spGraph1->GetCategoryAxis()->PutFormat(L"value replace `Ocean` with ``");
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutType(L"Column");
spGraph1->EndUpdate();
|
234
|
Define the size to show a column or a bar within the chart

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(32);
spGraph1->GetCategoryAxis()->PutFormat(L"value replace `Ocean` with ``");
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
spGraph1->EndUpdate();
|
233
|
Customizes the tooltip (shown while the cursor hovers value-points of the chart)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutBackground(EXGRAPHLib::exToolTipBackColor,RGB(1,0,0));
spGraph1->PutBackground(EXGRAPHLib::exToolTipForeColor,RGB(255,255,255));
spGraph1->PutToolTipFormat(L"`<b>` + category + `</b><br>Value: ` + (value format ``)");
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutShowValue(EXGRAPHLib::exPoint);
spGraph1->EndUpdate();
|
232
|
Resizes the elements of the series to fit the control's content

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetSeries()->Add("1,2,3,4",vtMissing);
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->EndUpdate();
|
231
|
Define the preset color scheme for the chart's series, encompassing both regular and reduced values

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(8);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
spGraph1->GetValueAxis()->PutFormat(L"value format ``");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"msft");
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"candle");
spGraph1->PutSeriesColors("gray");
spGraph1->PutSeriesColorsDecrease("black");
spGraph1->EndUpdate();
|
230
|
Define the default colors for the chart's series

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ==");
spGraph1->PutMisc(EXGRAPHLib::extVisibleBeforeAxis,long(1));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutDataOptions("hdr=1 eor=';' eof=' '");
spGraph1->PutData(_bstr_t("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
"");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutFormat(L"value + `°`");
var_ValueAxis->GetMajorGridLines()->PutColor("transparent");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Month");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Min,Max");
var_Serie->PutType(L"RangeColumn");
var_Serie->PutVertical(VARIANT_TRUE);
var_Serie->PutColor(long(16777216));
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
229
|
Updates the x-axis, y-axis

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
EXGRAPHLib::ILineOptionsPtr var_LineOptions = spGraph1->GetXAxis()->GetAxisLine();
var_LineOptions->PutWidth(2);
var_LineOptions->PutColor("red");
EXGRAPHLib::ILineOptionsPtr var_LineOptions1 = spGraph1->GetYAxis()->GetAxisLine();
var_LineOptions1->PutWidth(2);
var_LineOptions1->PutColor("red");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11");
var_Serie->PutType(L"bubble");
var_Serie->PutMisc(EXGRAPHLib::exScatterPlotSize,long(96));
|
228
|
Updates the default/first value-axis

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutTfi(L"<fgcolor red>");
spGraph1->GetSeries()->Add(_bstr_t("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)",vtMissing);
|
227
|
Updates the default/first category-axis

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("4600,1300,747,579,0,422,42",vtMissing);
var_Serie->PutName(L"Population");
var_Serie->PutType(L"Line");
var_Serie->PutMisc(EXGRAPHLib::exLineSize,long(3));
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("4458,3037,1018,2470,1784,1018,856",vtMissing);
var_Serie1->PutName(L"Area");
var_Serie1->PutType(L"Column");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
226
|
Add multiple series into the same view

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriesPtr var_Series = spGraph1->GetSeries();
EXGRAPHLib::ISeriePtr var_Serie = var_Series->Add("4600,1300,747,579,0,422,42",vtMissing);
var_Serie->PutName(L"Population");
var_Serie->PutType(L"Line");
var_Serie->PutMisc(EXGRAPHLib::exLineSize,long(3));
EXGRAPHLib::ISeriePtr var_Serie1 = var_Series->Add("4458,3037,1018,2470,1784,1018,856",vtMissing);
var_Serie1->PutName(L"Area");
var_Serie1->PutType(L"Column");
spGraph1->GetLegend()->PutVisible(VARIANT_TRUE);
spGraph1->EndUpdate();
|
225
|
Do do I get the DAO version I have installed
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
OutputDebugStringW( ::CreateObject(L"DAO.DBEngine.35")->GetVersion()->GetVersion() );
OutputDebugStringW( ::CreateObject(L"DAO.DBEngine.36")->GetVersion()->GetVersion() );
OutputDebugStringW( ::CreateObject(L"DAO.DBEngine.120")->GetVersion()->GetVersion() );
|
224
|
How do I get a list of interfaces the object implemenets
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'DAO' for the library: 'Microsoft Office 15.0 Access database engine Object Library'
#import <ACEDAO.DLL>
*/
DAO::_DBEnginePtr var_PrivDBEngine = ::CreateObject(L"DAO.DBEngine.120");
DAO::Recordset2Ptr rs = ((DAO::Recordset2Ptr)(var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",vtMissing,vtMissing,vtMissing)->OpenRecordset(L"MSFT",vtMissing,vtMissing,vtMissing)));
OutputDebugStringW( _bstr_t(::CreateObject(L"Exontrol.PropertiesList")) );
spGraph1->PutDataSource(((DAO::Recordset2Ptr)(rs)));
spGraph1->EndUpdate();
|
223
|
Do do I get the ADO version I have installed
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
OutputDebugStringW( L"ADO Version:" );
OutputDebugStringW( ::CreateObject(L"ADODB.Connection")->GetVersion()->GetVersion() );
|
222
|
DAO, ACCDB, 120

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'DAO' for the library: 'Microsoft Office 15.0 Access database engine Object Library'
#import <ACEDAO.DLL>
*/
DAO::_DBEnginePtr var_PrivDBEngine = ::CreateObject(L"DAO.DBEngine.120");
DAO::Recordset2Ptr rs = ((DAO::Recordset2Ptr)(var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",vtMissing,vtMissing,vtMissing)->OpenRecordset(L"MSFT",vtMissing,vtMissing,vtMissing)));
spGraph1->PutDataSource(((DAO::Recordset2Ptr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
221
|
DAO, MDB, 120

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'DAO' for the library: 'Microsoft Office 15.0 Access database engine Object Library'
#import <ACEDAO.DLL>
*/
DAO::_DBEnginePtr var_PrivDBEngine = ::CreateObject(L"DAO.DBEngine.120");
DAO::Recordset2Ptr rs = ((DAO::Recordset2Ptr)(var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",vtMissing,vtMissing,vtMissing)->OpenRecordset(L"MSFT",vtMissing,vtMissing,vtMissing)));
spGraph1->PutDataSource(((DAO::Recordset2Ptr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
220
|
DAO, MDB

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'DAO' for the library: 'Microsoft DAO 3.6 Object Library'
#import <dao360.dll>
*/
DAO::_DBEnginePtr var_PrivDBEngine = ::CreateObject(L"DAO.DBEngine.36");
DAO::RecordsetPtr rs = var_PrivDBEngine->OpenDatabase(L"C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.mdb",vtMissing,vtMissing,vtMissing)->OpenRecordset(L"MSFT",vtMissing,vtMissing,vtMissing);
spGraph1->PutDataSource(((DAO::RecordsetPtr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
219
|
ADODB, ACCDB, x64

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADODB.Recordset");
rs->Open("MSFT","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",ADODB::adOpenKeyset,ADODB::adLockReadOnly,0);
spGraph1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
218
|
ADOR, ACCDB

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
rs->Open("MSFT","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spGraph1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
217
|
ADODB, MDB

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADODB.Recordset");
rs->Open("MSFT","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spGraph1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
216
|
ADOR, MDB

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
rs->Open("MSFT","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spGraph1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Date");
EXGRAPHLib::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->GetChartGridLines();
var_FormatGridLinesOptions->PutFormat(L"value left 7");
var_FormatGridLinesOptions->PutAlign(EXGRAPHLib::exTextCalcRect);
var_FormatGridLinesOptions->PutColor("lightgray");
var_CategoryAxis->PutFormat(L"value left 7");
var_CategoryAxis->PutSplit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Open,High,Low,Close");
var_Serie->PutType(L"ohlc");
spGraph1->EndUpdate();
|
215
|
The value-axis gets updated as soon as the control is scrolled. It is possible to prevent that

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(2);
spGraph1->PutMisc(EXGRAPHLib::exUpdateRangeOnScroll,long(0));
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
OutputDebugStringW( _bstr_t(spGraph1->GetDataSample()) );
spGraph1->GetSeries()->Add("AAPL (open),AAPL (high),AAPL (low),AAPL (close)",vtMissing)->PutType(L"candle");
spGraph1->EndUpdate();
|
214
|
Debug the data I loaded, or gatter a data sample

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
OutputDebugStringW( _bstr_t(spGraph1->GetDataSample()) );
spGraph1->EndUpdate();
|
213
|
Imports the control's data from a safe array (array, method 3)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
rs->Open("MSFT","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Access\\sample.accdb",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spGraph1->PutData(rs->GetRows(0,vtMissing,vtMissing));
OutputDebugStringW( _bstr_t(spGraph1->GetDataSample()) );
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Column 2,Column 3,Column 4,Column 5");
var_Serie->PutType(L"candle");
spGraph1->EndUpdate();
|
212
|
Imports the control's data from a CSV format (file, method 2)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->PutData("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"aapl");
var_Serie->PutData("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
var_Serie->PutType(L"candle");
spGraph1->EndUpdate();
|
211
|
Imports the control's data from a CSV format (content, string, method 2)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::extVisibleBeforeAxis,long(1));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutDataOptions("hdr=1 eor=';' eof=' '");
spGraph1->PutData(_bstr_t("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
"");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutFormat(L"value + `°`");
var_ValueAxis->GetMajorGridLines()->PutColor("transparent");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Month");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Min,Max");
var_Serie->PutType(L"RangeColumn");
var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
210
|
Imports the control's data from a CSV format (file, method 1)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutValueSize(6);
spGraph1->Import("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt",vtMissing);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutName(L"aapl");
var_Serie->PutData("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
var_Serie->PutType(L"candle");
spGraph1->EndUpdate();
|
209
|
Imports the control's data from a CSV format (content, string, method 1)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::extVisibleBeforeAxis,long(1));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->Import(_bstr_t("Month Min Max;Jan -2 10;Feb 0 12;Mar 3 15;Apr 7 18;May 12 22;Jun 16 25;Jul 18 28;Aug 17 27;Sep 14 24;Oct 9 19;Nov 4 15;Dec 0 10") +
"","hdr=1 eor=';' eof=' '");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutFormat(L"value + `°`");
var_ValueAxis->GetMajorGridLines()->PutColor("transparent");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Month");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Min,Max");
var_Serie->PutType(L"RangeColumn");
var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
208
|
Define the field delimitators, such as eor(end of record), eof(end of field) and hdr(header)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutMisc(EXGRAPHLib::extVisibleBeforeAxis,long(1));
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutDataOptions("hdr=1 eor=';' eof=' '");
spGraph1->PutData("Month Min Max;Jan -5 2;Feb -4 7;Mar 1 12;Apr 5 17;May 10 23;Jun 14 26;Jul 15 28;Aug 14 28;Sep 11 25;Oct 5 18;Nov 1 9;Dec -3 4");
EXGRAPHLib::IValueAxisPtr var_ValueAxis = spGraph1->GetValueAxis();
var_ValueAxis->PutFormat(L"value + `°`");
var_ValueAxis->GetMajorGridLines()->PutColor("transparent");
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("Month");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add(vtMissing,vtMissing);
var_Serie->PutData("Min,Max");
var_Serie->PutType(L"RangeColumn");
spGraph1->PutSeriesColors(_bstr_t("RGB(9,80,239),RGB(9,120,239),RGB(249,186,7),RGB(249,173,7),RGB(255,148,51),RGB(255,125,51),RGB(255,114,51),RGB(255,120,51),RGB(") +
"255,139,51),RGB(249,171,7),RGB(249,200,7),RGB(9,110,239)");
spGraph1->EndUpdate();
|
207
|
Define the size of the control's tooltip margins

// MouseMove event - Occurs when the user moves the mouse.
void OnMouseMoveGraph1(short Button, short Shift, long X, long Y)
{
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->ShowToolTip(L"just a text to be shown when cursor hovers the view","title",vtMissing,vtMissing,vtMissing);
}
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->PutToolTipMargin(L"16,16");
spGraph1->GetSeries()->Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)",vtMissing);
spGraph1->EndUpdate();
|
206
|
Sets the size of icons the control displays

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutImageSize(32);
spGraph1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add(_bstr_t("<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South Americ") +
"a(433),<img>6</img>Australia/Oceania(42)",vtMissing);
spGraph1->PutSeriesColors("blue");
spGraph1->EndUpdate();
|
205
|
Prevents the control to fire any event

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->FreezeEvents(VARIANT_TRUE);
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutVertical(VARIANT_TRUE);
spGraph1->EndUpdate();
spGraph1->FreezeEvents(VARIANT_FALSE);
|
204
|
Display columns using EBN colors (BASE64)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABUQDg6AADACAxRDAMgBQKAAzAJBIYhiGgcYCgMZBSDeCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKsGRHF6MI6gOYpCgOIYjRJNIASV") +
"AceAAHCUZrjSgobAiCYlTZCIBQS5oOBIACmabiegZLgmQInUrMEggVDgJSPuTWNQUdYdJQTHIZBpEWyLKjkNQwWrCNr3DTUEyNDauIDpCKLCpGZYYVRPOAgAKldxhGCa" +
"JokGkgc4HHyrcCwfDAMraCQQWAAF62Jb1JyrSSBchnOwpDpuCaVQLXUB5RRNQyZTiyIrtS5AAqnNJzW5cE46Li0B5QAC8QA1S7NPo/HaZT5kGB7ZDddzuADfcLlfD5Bx" +
"EDCUhQmEPAbl6K4hlKQ5snwNwtleDxpBeMRIHmd4+A8R4/BuRZvEABQDEmDJoHUOQZEYMgVjQSIEE0fwRjCWQJAoEIXHWQxCAGBBggAbpemOCJaDaRowkQKwfgSEJCBQ" +
"DAGnCWAsDYTJTLSBwOlgfghggIgohYIA3A0Iw8GcCxCigZAsguB4hBwQ4HAyZAMjMJhJjIPBdA0SZxkAOoPEOIhMGEDYJHGSB0gmIg5CYSAokgAZggME4DCkAhACbIhg" +
"ioIwImQDhXCOCQRHgNwogcIJyGCGImBGMAyAqYxJCISINAcAJcC0JxGmCbIiByQ5Zk4dYdCWORqFgJJGACYIkB0A5pn6AYgAmcY8DwHRDlCOg3CaZIKCwfgSgOOgUDwK" +
"RHFCfoUiWKRaF4eQACWMhUGEDoKHGWBAigag6gqJIpCmYJogMExDEqLA0ioah6giKAdkQGpOjWLQrGobjfEYMJwioHhEDqfpBjACohmAQoxGwewakiMpsisNBCCqbALE" +
"AQ40i0KtjCYRhQnSLQekQWxul2NwKlGaBEjgbg7gqZI5m4a4kEQK4tkuMBFjuLprFiDgnAYYJ8jAHxEHuXp5j4L4rnafI/m+PAGnoLBvgwEBH5Aa5Ih8GhEBKUIABKMJ" +
"sEMDwtAecQnBSRYxFwXwakYcZBCSNZDnGcQrCGlIigQagQkscgIEyShyjyKI3CARI8j8MZMDMLJXDSTZEjKYwqk6BJMnMPI8goMYwEQLoIEEOxElGNBdB8SpSHSTQjE6" +
"UZLj0FxRBONQ9E6cgpEaUQYj0IYFA0bxdlcNZilwfwTEiYRUDwHZDkCSxoAyNhQnMYgTHWYp4gcFB3C2Uxzl0N4IoQBvAjEwAQIApRfDvH2PELgOhEhUDwI0GgxBIgED" +
"QEMRQ4hPgGBKBgEgSBTjIHkHwS4KQ8siEQJIMIkQxCvBwCoS4hAQCkBuIYcIuRrBzE6BMK4Eg7D0HOEAewIgDilFwPwE4mBODvDUCoew9BsiMCyJYQg+BlAiEwMQNArx" +
"wCKH6PARYLR6hSCuFYMYFRSgZBMCwA45gfiFHSAocomB5AnCmGcH4tAkgNFGHkFQNAGAEHAN4GQERhgQF0GsDIxg/iTHIJwMw4RVA2EMCEOA9APgGE+JgNATBHE4F6Ac" +
"UAZwuAYAAAgBBAQ==");
spGraph1->PutAutoFit(VARIANT_TRUE);
EXGRAPHLib::ISeriePtr var_Serie = spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing);
var_Serie->PutColor(long(16777216));
var_Serie->PutVertical(VARIANT_TRUE);
spGraph1->EndUpdate();
|
203
|
Display columns using EBN colors

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)",vtMissing)->PutColor(long(16777216));
spGraph1->EndUpdate();
|
202
|
Show images

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutHTMLPicture(L"china","c:\\exontrol\\images\\zipdisk.gif");
spGraph1->PutHTMLPicture(L"india","c:\\exontrol\\images\\auction.gif");
spGraph1->PutHTMLPicture(L"usa","c:\\exontrol\\images\\colorize.gif");
spGraph1->PutMisc(EXGRAPHLib::exShowValueIf,long(0));
spGraph1->PutMisc(EXGRAPHLib::exShowLabelsIf,long(0));
spGraph1->PutValueSize(32);
EXGRAPHLib::ICategoryAxisPtr var_CategoryAxis = spGraph1->GetCategoryAxis();
var_CategoryAxis->PutCategories("<img>china</img>,<img>india</img>,<img>usa</img>");
var_CategoryAxis->GetMajorGridLines()->PutColor("lightgray");
spGraph1->GetSeries()->Add("1410,1390,331",vtMissing);
spGraph1->EndUpdate();
|
201
|
Shows a custom tooltip

// MouseMove event - Occurs when the user moves the mouse.
void OnMouseMoveGraph1(short Button, short Shift, long X, long Y)
{
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXGRAPHLib' for the library: 'ExGraph 1.0 Control Library'
#import <ExGraph.dll>
using namespace EXGRAPHLib;
*/
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->ShowToolTip(L"just a text to be shown when cursor hovers the view","title",vtMissing,vtMissing,vtMissing);
}
EXGRAPHLib::IGraphPtr spGraph1 = GetDlgItem(IDC_GRAPH1)->GetControlUnknown();
spGraph1->BeginUpdate();
spGraph1->PutAutoFit(VARIANT_TRUE);
spGraph1->GetSeries()->Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)",vtMissing);
spGraph1->EndUpdate();
|